import _usersApply from './users/apply/map';
import _goods from './goods/map';
import _goodsHome from './goods/home/map';
import _goodsHomeAdd from './goods/home/addMap';
import _profileStep2 from './profile/step2Map';
import _profileStep3 from './profile/step3Map';
import _users from './users/map';
import _userGoods from './users/goods/map';
import _bannersCenter from './banners/centerMap';
import _bannersManage from './banners/manageMap';

const form = [{
  label: '创建日期',
  field: 'createdAt',
  component: 'DatePicker',
  props: {
    placeholder: '请输入创建日期',
  },
}, {
  label: '更新日期',
  field: 'updatedAt',
  component: 'DatePicker',
  props: {
    placeholder: '请输入更新日期',
  },
}];

const usersApply = _usersApply.concat(form);
const goods = _goods.concat(form);
const goodsHome = _goodsHome.concat(form);
const goodsHomeAdd = _goodsHomeAdd.concat(form);
const profileStep2 = _profileStep2.concat(form);
const profileStep3 = _profileStep3.concat(form);
const users = _users.concat(form);
const userGoods = _userGoods.concat(form);
const bannersCenter = _bannersCenter.concat(form);
const bannersManage = _bannersManage.concat(form);

export {
  usersApply,
  goodsHome,
  goodsHomeAdd,
  goods,
  profileStep2,
  profileStep3,
  users,
  userGoods,
  bannersCenter,
  bannersManage,
}